<div class="febs-container" id="sypqProject-edit">
    <div class="febs-body  febs-open-body  layui-fluid" lay-title="编辑项目">
        <form class="layui-form" action="" lay-filter="sypqProject-edit-form">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form-item">
                        <div class="layui-row">
                         <div class="layui-col-xs12">
                        <label class="layui-form-label   febs-form-item-require" style="width: 100px;">项目编码:</label>
                        <div class="layui-input-block">
                            <input type="text" name="projectCode" id="projectCode" placeholder="项目编码"
                                   lay-verify="required"
                                   class="layui-input">
                        </div>
                         </div>
                      </div>
                    </div>


                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require">项目名称:</label>
                        <div class="layui-input-block">
                            <input type="text" name="projectName" autocomplete="off" class="layui-input"
                                   lay-verify="required" placeholder="项目名称" maxlength="90">
                        </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require">项目经理:</label>
                        <div class="layui-input-block">
                            <select name="managerids" id="managerids" style="overflow: visible"
                                    xm-select-direction="down" xm-select-skin="default"
                                    xm-select="managerids" lay-search lay-verify="required">
                            </select>
                        </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require">项目审批人:</label>
                        <div class="layui-input-block">
                            <select name="auditorid" id="auditorid" style="overflow: visible" lay-search
                                    lay-verify="required">
                                <option value="">请选择</option>
                            </select>
                        </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require">客 户:</label>
                        <div class="layui-input-block">
                            <select name="custCode" id="custCode" style="overflow: visible" lay-filter="custCode"
                                    lay-verify="required" lay-search>
                                <option value="">请选择</option>
                            </select>
                        </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label">联 系 人:</label>
                        <div class="layui-input-block">
                            <input type="text" name="contact" id="contact" placeholder="联系人" lay-verify="required"
                                   class="layui-input">
                        </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label">联系方式:</label>
                        <div class="layui-input-block">
                            <input type="text" name="telephone" id="telephone" placeholder="联系方式"
                                   lay-verify="required"
                                   class="layui-input">
                        </div>
                            </div>
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <label class="layui-form-label ">试验要求:</label>
                        <div class="layui-input-block">
                                <textarea placeholder="请输入试验要求" lay-verify="required" class="layui-textarea"
                                          name="testDemand"
                                          maxlength="4000">
                                </textarea>
                        </div>
                            </div>
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <div class="layui-row">
                            <div class="layui-col-xs12">
                        <div class="layui-inline">
                            <label class="layui-form-label">期望起止时间</label>
                            <div class="layui-inline" id="ID-laydate-range">
                                <div class="layui-input-inline">
                                    <input type="text" autocomplete="off" id="expectStartdate" name="expectStartdate"
                                           class="layui-input"
                                           placeholder="期望开始时间">
                                </div>
                                <div class="layui-form-mid">-</div>
                                <div class="layui-input-inline">
                                    <input type="text" autocomplete="off" id="expectEnddate" name="expectEnddate"
                                           class="layui-input"
                                           placeholder="期望结束日期">
                                </div>
                            </div>
                        </div>
                            </div>
                        </div>
                    </div>


                    <div class="layui-form-item">
                        <div class="febs-hide">
                            <label class="layui-form-label ">计划开始时间:</label>
                            <div class="layui-input-block">
                                <input type="text" name="planStartdate" id="planStartdate" autocomplete="off"
                                       placeholder="计划开始时间" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-md6 layui-inline febs-hide">
                            <div class="layui-form-item">
                                <label class="layui-form-label">计划结束时间:</label>
                                <div class="layui-input-block">
                                    <input type="text" name="planEnddate" id="planEnddate" autocomplete="off"
                                           placeholder="计划结束时间" class="layui-input">
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item febs-hide">
                        <div class="layui-inline ">
                            <label class="layui-form-label ">实际开始时间:</label>
                            <div class="layui-input-block">
                                <input type="text" name="actualStartdate" id="actualStartdate" autocomplete="off"
                                       placeholder="实际开始时间" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline  febs-hide">
                            <label class="layui-form-label ">实际结束时间:</label>
                            <div class="layui-input-block">
                                <input type="text" name="actualEnddate" id="actualEnddate" autocomplete="off"
                                       placeholder="实际结束时间" class="layui-input">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label ">创建时间：</label>
                        <div class="layui-input-block">
                            <input type="text" name="createdTime" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label ">删除标志：</label>
                        <div class="layui-input-block">
                            <input type="text" name="deletedFlg" autocomplete="off" class="layui-input" maxlength="1">
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label "></label>
                        <div class="layui-input-block">
                            <input type="text" name="status" autocomplete="off" class="layui-input"
                                   maxlength="4">
                        </div>
                    </div>
                    <div class="layui-form-item febs-hide">
                        <label class="layui-form-label "></label>
                        <div class="layui-input-block">
                            <input type="text" name="approveStatus" autocomplete="off" class="layui-input"
                                   maxlength="4">
                        </div>
                    </div>
                    <div class="layui-form-item" style="text-align:center">
                        <button class="layui-btn" lay-submit="" lay-filter="sypqProject-edit-form-save" id="save">保存
                        </button>
                        <button class="layui-btn" style="margin-left: 20px;" lay-submit=""
                                lay-filter="sypqProject-edit-form-submit"
                                id="submit">提交
                        </button>
                        <!--                <button type="reset" class="layui-btn" id="reset"></button>-->
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<script data-th-inline="javascript">
    var sypqProjectData = [[${sypqProject}]];
    var userListData = [[${userList}]];
    var customerListData = [[${customerList}]];
    var typeData = [[${type}]];
    var  oldcode=[[${oldProjectCode}]];
</script>

<script th:src="@{/febs/js/sypq/sypqProject/sypqProjectEdit.js(v=1)}"></script>
<style type="text/css">
    .layui-form-label {
        width: 100px !important;
    }

    .layui-input-block {
        margin-left: 130px !important;
    }

    .layui-table-cell {
        font-size: 12px;
    }

</style>
